package com.lxb.myblog.service;

import com.lxb.myblog.po.Type;

import java.util.List;

public interface TypeService {

    List<Type> getAllType();

    Type getTypeById(Integer id);

    int updateType(Type type);

    int saveType(Type type);

    void deleteTypeById(Integer typeId);
}
